package com.wujunhao1024.sqldp.strategy;

import com.wujunhao1024.sqldp.workbench.Workbench;
import net.sf.jsqlparser.statement.select.Select;

public class Strategy {

    private final SelectStrategy selectStrategy;

    public Strategy() {
        this.selectStrategy = new SelectStrategy();
    }

    public void selectFill(Select select, Workbench workbench) {
        selectStrategy.handleSelect(select, workbench);
        workbench.print();

    }
}
